package com.cgs.query.event

import com.cgs.query.domain.QueryDefine
import org.springframework.context.ApplicationEvent

/**
 * 数据源事件
 */
class QueryDefineEvent(val type: Type) : ApplicationEvent(type) {

    enum class Type {
        DELETE,
        BATCH_DELETE
    }

    var defineId: String? = null
    var defineName: String? = null
    var defines: List<QueryDefine>? = null
}